#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME            := /usr/lib/kaffe
DEB_ANT_BUILD_TARGET := all
DEB_JARS             := commons-logging tritonus_share vorbisspi

install/libbasicplayer-java::
	dh_link /usr/share/java/basicplayer$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/basicplayer.jar

# 0 is intended here to ensure downloading the upstream source code
get-orig-source:
	-uscan --upstream-version 0

